from rest_framework import serializers
from .models import *


class GoodsSer(serializers.ModelSerializer):
	class Meta:
		model = Goods
		fields = "__all__"


class AuthorSer(serializers.ModelSerializer):
	class Meta:
		model = Author
		fields = "__all__"


class BookSer(serializers.ModelSerializer):
	class Meta:
		model = Book
		fields = "__all__"

class UserSer(serializers.ModelSerializer):

	class Meta:
		model = User
		fields = "__all__"
